package com.hmall.order.test;


import com.hmall.common.client.OrderClient;
import com.hmall.common.dto.Order;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest
public class demo1 {



    @Autowired
    OrderClient orderClient;


    @Test
    public void test1(){
        Order order = orderClient.queryOrderById(123865420L);
        System.out.println(order);
    }

}
